@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat-Regular'), url('../fonts/Montserrat-Regular.woff2') format('woff2'), url('../fonts/Montserrat-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat-Medium'), url('../fonts/Montserrat-Medium.woff2') format('woff2'), url('../fonts/Montserrat-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat-SemiBold'), url('../fonts/Montserrat-SemiBold.woff2') format('woff2'), url('../fonts/Montserrat-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat-Bold'), url('../fonts/Montserrat-Bold.woff2') format('woff2'), url('../fonts/Montserrat-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat-ExtraBold'), url('../fonts/Montserrat-ExtraBold.woff2') format('woff2'), url('../fonts/Montserrat-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --black-color: #000;
  --white-color: #fff;
  --semi-dark-grey-color: #666;
  --orange-color: #ff9900;
  --light-orange-color: #ffb84d;
  --pumpkin-color: #e1670e;
  --light-grey-color: #cacaca;
  --dark-grey-color: #414141;
}

html {
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
  min-width: 320px;
  max-width: 1920px;
  margin: 0 auto;
	font-family: 'Montserrat', sans-serif;
}

a {
	text-decoration: none;
  color: inherit;
}

img {
	max-width: 100%;
}

.visually-hidden {
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  margin: -1px;
}

.flex {
  display: flex;
}

.container {
  max-width: 1870px;
  margin: 0 auto;
  padding: 0 50px;
}

.h-reset {
  margin: 0;
}

.p-reset {
  margin: 0;
}

.f-reset {
  margin: 0;
}

.list-reset {
  margin: 0;
  padding: 0;
  list-style: none;
}

.btn-reset {
  padding: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.section-title {
  font-size: 48px;
  font-weight: 400;
}

.btn {
  padding: 11px 20px;
  border-radius: 16px;
  font-weight: 700;
  color: var(--white-color);
  background-color: var(--orange-color);
  transition: background-color 0.3s ease-in;
}

.btn:focus {
  outline: none;
  background-color: var(--light-orange-color);
}

.btn:hover {
  background-color: var(--light-orange-color);
}

.btn:active {
  background-color: var(--pumpkin-color);
}

/* header */

.header {
  width: 100%;
  vertical-align: middle;
  height: 100px;
  box-shadow: 0px 5px 40px rgba(0, 0, 0, 0.1);
  border-radius: 0px 0px 32px 32px;
}

.burger-nav {
  display: none;
}

.header__container {
  position: relative;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}

.burger {
  display: none;
  align-items: flex-end;
  outline-offset: 5px;
  outline: 2px solid transparent;
  transition: outline-color 0.3s ease-in, width 0.3s ease-in;
}

.burger:focus {
  outline-offset: 5px;
  outline: 2px solid var(--orange-color);
}

.burger:hover {
  outline-color: transparent;
}

.header__logo {
  line-height: 0;
}

.header__wrapper {
  flex-basis: 992px;
  align-items: center;
  justify-content: space-between;
}

.nav__item:not(:last-child) {
  margin-right: 85px;
}

.nav__link {
  position: relative;
  font-weight: 600;
  font-size: 18px;
  transition: outline-color 0.3s ease-in, color 0.2s ease-in;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background-color: var(--orange-color);
  opacity: 0;
  transition: opacity 0.3s ease-in, background-color 0.3s ease-in;
}

.nav__link:hover {
  outline: none;
}

.nav__link:hover::after {
  opacity: 1;
}

.nav__link:active {
  outline: none;
  color: var(--pumpkin-color);
}

.nav__link:active::after {
  background-color: var(--pumpkin-color)
}

.header__search-wrapper {
  display: flex;
  align-items: center;
}

.header-form {
  position: absolute;
  width: 30%;
  max-height: 60px;
  padding: 16px 13px 16px 32px;
  top: 50%;
  right: 50px;
  transform: translate(5%, -50%);
  z-index: 2;
  border-radius: 24px;
  background-color: var(--white-color);
  opacity: 0;
  visibility: hidden;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease-in, opacity 0.3s ease-in, visibility 0.3s ease-in;
}

.header-form--active {
  visibility: visible;
  opacity: 1;
  transform: translate(0, -50%);
}

.header-form__label {
  width: 100%;
  margin-right: auto;
}

.header-form__input {
  width: 97%;
  padding-bottom: 4px;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  border: none;
  border-bottom: 1px solid var(--light-grey-color);
}

.header-form__input::-webkit-search-cancel-button {
  display: none;
}

.header-form__input:focus{
  outline: none;
}

.search {
  position: absolute;
  right: 50px;
  height: 24px;
  outline-offset: 2px;
  outline: 2px solid transparent;
  visibility: visible;
  transition: outline-color 0.3s ease-in;
}

.search--active {
  visibility: hidden;
}

.search:focus {
  outline-offset: 2px;
  outline: 2px solid var(--orange-color);
}

.search:hover {
  outline-offset: 2px;
  outline: 2px solid transparent;
}

.search:hover .search__path {
  stroke: var(--orange-color);
}

.search:hover .search__rect {
  fill: var(--orange-color);
}

.search:active {
  outline: none;
}

.header-form__btn-submit {
  margin-right: 22px;
}

.submit {
  height: 24px;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color 0.3s ease-in;
}

.submit:focus {
  outline: 2px solid var(--orange-color);
  outline-offset: 2px;
}

.submit:active {
  outline-color: transparent;
}

.close {
  height: 24px;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color 0.3s ease-in;
}

.close-fill {
  transition: fill 0.3s ease-out;
}

.close-stroke {
  transition: stroke 0.3s ease-out;
}

.close:focus {
  outline: 2px solid var(--orange-color);
  outline-offset: 2px;
}

.close:hover .close-fill {
  fill: var(--orange-color);
}

.close:hover .close-stroke {
  stroke: var(--orange-color);
}

.close:active {
  outline-color: transparent;
}

.close:active .close-fill {
  fill: var(--black-color);
}

.close:active .close-stroke {
  stroke: var(--black-color);
}

/* hero */

.hero {
  padding-top: 50px;
}

.swiper {
  position: relative;
  align-items: center;
  height: 620px;
  border-radius: 32px;
  overflow: hidden;
}

.swiper__btn:not(:last-child) {
  margin-right: 16px;
}

.swiper-slide {
  height: 100%;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.slide-1 {
  background-image: url('../img/hero-pic-1.jpg');
}

.slide-2 {
  background-image: url('../img/hero-pic-2.jpg');
}

.slide-3 {
  background-image: url('../img/hero-pic-3.jpg');
}

.slide-content {
  z-index: 100;
  position: absolute;
  left: 80px;
  width: 53%;
}

.slide-title {
  margin-bottom: 24px;
  line-height: 85px;
  font-weight: 800;
  font-size: 70px;
  color: var(--white-color);
}

.slide-text {
  margin-bottom: 90px;
  line-height: 29px;
  font-weight: 700;
  font-size: 24px;
  color: var(--white-color);
}

.slide-btn {
  font-weight: 700;
  font-size: 23px;
  padding: 26px 39px;
}

.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
  bottom: 26px;
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 10px;
}

.swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  background-color: var(--light-grey-color);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: var(--white-color);
}

/* about */

.about {
  padding-top: 53px;
}

.about__title {
  margin-bottom: 22px;
}

.about__text {
  margin-bottom: 49px;
  max-width: 1250px;
  line-height: 32px;
}

.about-content {
  justify-content: space-between;
}

.about-content__left, .about-content__right {
  width: calc((100% - 32px) / 2);
}

.about__article {
  width: 100%;
  overflow: hidden;
  border-radius: 32px;
}

.left-article {
  flex-direction: column;
  justify-content: flex-end;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url('../img/about-bg-pic.jpg');
}

.left-article__wrapper {
  align-items: center;
  padding: 50px 51px;
  min-height: 196px;
  justify-content: space-between;
  border-radius: 32px;
  background-color: rgba(0, 0, 0, 0.5);
}

.left-article__text {
  max-width: 60%;
  line-height: 2;
  color: var(--white-color);
  font-weight: 700;
}

.left-article__btn {
  border: 3px solid var(--orange-color);
  background-color: transparent;
  padding: 18px 35px;
  transition: border-color 0.3s ease-in, background-color 0.3s ease-in;
}

.left-article__btn:focus {
  background-color: var(--orange-color);
}

.left-article__btn:hover {
  background-color: var(--orange-color);
}

.left-article__btn:active {
  border-color: var(--pumpkin-color);
  background-color: var(--pumpkin-color);
}

.left-article__bg-320 {
  display: none;
}

.right-article {
  width: 100%;
  border: 1px solid #cacaca;
  padding: 65px 116px 63px 299px;
  background-repeat: no-repeat;
  background-position: left 58px center;
}

.right-article:not(:last-child) {
  margin-bottom: 32px;
}

.right-article-1 {
  background-image: url('../img/about-box-pic.svg');
}

.right-article-2 {
  background-image: url('../img/about-tool-pic.svg');
}

.right-article__title {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 24px;
}

.right-article__text {
  line-height: 2;
}

/* development */

.development {
  padding-top: 101px;
}

.development__title {
  margin-bottom: 52px;
}

.tabs-nav {
  margin-bottom: 49px;
}

.tabs-nav__btn--active {
  color: var(--pumpkin-color);
}

.tabs-item {
  display: none;
}

.tabs-item--active {
  display: flex;
}

.tabs-nav__item {
  font-size: 18px;
}

.tabs-nav__item:not(:last-child) {
  margin-right: 85px;
}

.tabs-nav__btn {
  outline-offset: 5px;
  outline: 2px solid transparent;
  transition: color 0.2s ease-in, outline-color 0.3s ease-in;
}

.tabs-nav__btn:focus {
  outline-offset: 5px;
  outline: 2px solid var(--orange-color);
}

.tabs-nav__btn:hover {
  color: var(--orange-color);
}

.tabs-nav__btn:active {
  outline: none;
  color: var(--pumpkin-color);
}

.tabs-item {
  justify-content: space-between;
}

.tabs-content__wrapper {
  width: calc((100% - 32px) / 2);
  padding-right: 110px;
}

.tabs-content__title {
  margin-bottom: 11px;
  font-size: 24px;
}

.tabs-content__text-wrapper {
  margin-bottom: 16px;
}

.tabs-content__text {
  line-height: 2;
}

.tabs-content__btn {
  padding: 22px 38px 20px 39px;
}

.tabs-content__btn:not(:last-child) {
  margin-right: 32px;
}

.tabs-content__btn--transparent {
  padding: 21px 37px 19px 37px;
  font-weight: 400;
  background-color: transparent;
  color: var(--black-color);
  border: 1px solid var(--black-color);
  transition: color 0.2s ease-in, background-color 0.3s ease-in, border-color 0.3s ease-in;
}

.tabs-content__btn--transparent:focus {
  color: var(--white-color);
  border-color: var(--semi-dark-grey-color);
  background-color: var(--semi-dark-grey-color);
}

.tabs-content__btn--transparent:hover {
  color: var(--white-color);
  border-color: var(--semi-dark-grey-color);
  background-color: var(--semi-dark-grey-color);
}

.tabs-content__btn--transparent:active {
  background-color: var(--black-color);
}

.tabs-content__bg {
  margin-top: 7px;
  min-height: 460px;
  width: calc((100% - 32px) / 2);
  border-radius: 32px;
  background-repeat: no-repeat;
  background-size: cover;
}

.tabs-bg-1 {
  background-image: url('../img/development-pic-1.jpg');
}

.tabs-bg-2 {
  background-image: url('../img/development-pic-2.jpg');
}

.tabs-bg-3 {
  background-image: url('../img/development-pic-3.jpg');
}

.tabs-bg-4 {
  background-image: url('../img/development-pic-4.jpg');
}

.tabs-content__text-768 {
  display: none;
}

/* questions */

.ac {
  margin: 0;
  border: none;
}

.ac .ac-trigger::after {
  display: none;
}

.questions {
  padding-top: 114px;
}

.questions__title {
  margin-bottom: 33px;
  font-weight: 400;
  font-size: 48px;
}

.ac .ac-trigger {
  display: flex;
  width: 100%;
  padding: 30px 0;
  text-align: left;
  align-items: center;
  justify-content: space-between;
  font: 700 24px/32px Montserrat, sans-serif;
  border-top: 1px solid var(--light-grey-color);
  transition: color 0.2s ease-in, border-color 0.3s ease-in;
}

.ac .ac-trigger:focus {
  color: var(--orange-color);
}

.questions-border {
  width: 100%;
  border-top: 1px solid var(--light-grey-color);
  transition: border-color 0.3s ease-in;
}

.questions-item__ellipse {
  transition: fill 0.3s ease-in;
}

.questions-item__path {
  transform-origin: center center;
  transition: fill 0.2s ease-in, transform 0.2s ease-in;
}

.questions-item__btn:focus {
  outline: none;
  color: var(--orange-color);
  border-top: 1px solid var(--orange-color);
}

.questions-item:focus-within + .questions-item .questions-item__btn {
  border-top: 1px solid var(--orange-color);
}

.questions-item:focus-within .questions-border {
  border-color: var(--orange-color);
}

.questions-item__btn:focus .questions-item__ellipse {
  fill: var(--orange-color)
}

.questions-item__btn:focus .questions-item__path {
  fill: var(--white-color)
}

.questions-item__btn:hover {
  color: var(--orange-color);
  border-top: 1px solid var(--orange-color);
}

.questions-item:hover + .questions-item .questions-item__btn {
  border-top: 1px solid var(--orange-color);
}

.questions-item__btn:hover .questions-item__ellipse {
  fill: var(--orange-color)
}

.questions-item__btn:hover .questions-item__path {
  fill: var(--white-color)
}

.questions-item:hover .questions-border {
  border-color: var(--orange-color);
}

.questions-item__btn:active {
  color: var(--black-color);
  border-top: 1px solid var(--light-grey-color);
}

.questions-item:active + .questions-item .questions-item__btn {
  border-top: 1px solid var(--light-grey-color);
}

.questions-item__btn:active .questions-item__ellipse {
  fill: var(--light-grey-color)
}

.questions-item__btn:active .questions-item__path {
  fill: var(--black-color);
  transform: rotate(45deg);
}

.questions-item__text {
  width: 55%;
  padding-bottom: 40px;
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
}

.questions-item__icon {
  width: 150px;
  padding-left: 100px;
  flex-shrink: 0;
}

.is-active:hover + .questions-item .questions-item__btn {
  border-color: var(--light-grey-color);
}

.is-active:focus-within + .questions-item .questions-item__btn {
  border-color: var(--light-grey-color);
}

.is-active:focus-within .ac-trigger {
  color: var(--black-color);
}

.is-active:focus-within + .questions-border {
  border-color: var(--light-grey-color);
}

.is-active .questions-item__btn {
  border-color: var(--light-grey-color);
  color: var(--black-color);
}

.is-active .questions-item__btn .questions-item__ellipse {
  fill: var(--light-grey-color)
}

.is-active .questions-item__btn .questions-item__path {
  fill: var(--black-color);
  transform: rotate(45deg);
}

.is-active:hover .questions-border {
  border-color: var(--light-grey-color);
}


/* footer */

.footer {
  padding-top: 100px;
}

.footer__container {
  color: var(--light-grey-color);
  background-color: var(--black-color)
}

.footer-content {
  justify-content: space-between;
  align-items: center;
  padding: 50px 0;
}

.footer-content__left {
  flex-basis: 363px;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 23px;
}

.footer__list {
  margin-bottom: 100px;
}

.footer__item:not(:last-child) {
  margin-bottom: 15px;
}

.footer-content__middle {
  flex-basis: 570px;
}

.footer__link {
  font-weight: 600;
  font-size: 18px;
  outline-offset: 5px;
  outline: 2px solid transparent;
  transition: outline-color 0.3s ease-in, color 0.2s ease-in;
}

.footer__link:focus {
  outline-offset: 5px;
  outline: 2px solid var(--orange-color)
}

.footer__link:hover {
  color: var(--orange-color);
}

.footer__link:active {
  outline: none;
  color: var(--pumpkin-color)
}

.social-list {
  flex-wrap: wrap;
}

.social-list__item:not(:last-child) {
  margin-right: 25px;
}

.social-list__link {
  outline-offset: 5px;
  outline: 2px solid transparent;
  transition: outline-color 0.3s ease-in;
}

.social-icon__path {
  transition: fill 0.3s ease-in;
}

.social-list__link:focus {
  outline-offset: 5px;
  outline: 2px solid var(--orange-color);
}

.social-list__link:hover .social-icon__path {
  fill: var(--orange-color);
}

.social-list__link:active {
  outline: none;
}

.social-list__link:active .social-icon__path {
  fill: var(--pumpkin-color);
}

.footer__form {
  flex-direction: column;
}

.form__title {
  margin-bottom: 25px;
  font-weight: 400;
  font-size: 48px;
}

.form__label {
  line-height: 0;
}

.form__label:not(:last-child) {
  margin-bottom: 25px;
}

.form__input {
  width: 100%;
  padding: 22px 24px 19px 24px;
  border: none;
  border-radius: 16px;
  color: var(--white-color);
  background-color: var(--dark-grey-color);
  transition: background-color 0.3s ease-in;
}

.form__input:focus {
  outline: none;
  background-color: var(--semi-dark-grey-color);
}

.form__input:hover {
  background-color: var(--semi-dark-grey-color);
}

.form__input:active {
  background-color: var(--semi-dark-grey-color);
}

.form__input::placeholder {
  color: var(--light-grey-color)
}

.form__textarea {
  width: 100%;
  min-height: 150px;
  padding: 22px 24px;
  resize: none;
  border: none;
  border-radius: 16px;
  color: var(--white-color);
  background-color: var(--dark-grey-color);
  transition: background-color 0.3s ease-in;
}

.form__textarea:focus {
  outline: none;
  background-color: var(--semi-dark-grey-color);
}

.form__textarea:hover {
  background-color: var(--semi-dark-grey-color);
}

.form__textarea:active {
  background-color: var(--semi-dark-grey-color);
}

.form__textarea::placeholder {
  color: var(--light-grey-color)
}

.form__wrapper {
  padding-top: 8px;
  align-items: center;
}

.form__btn {
  margin-right: 21px;
  padding: 20px 53px;
  color: var(--white-color);
}

.form__checkbox {
  opacity: 0;
  margin-right: 4px;
}

.form__check {
  line-height: 18px;
  position: relative;
}

.custom-checkbox:before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  position: absolute;
  left: 0;
  top: 1px;
  border: 1px solid var(--light-grey-color);
  background-color: transparent;
}

.form__checkbox:checked + .custom-checkbox:before {
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('../img/check.svg')
}

.footer-content__right {
  flex-basis: 363px;
}

.footer__text {
  line-height: 2;
}
